﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="MvcMall.AdminWeb.Manage.ArticleCategories.Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="/Scripts/Validate/pagevalidator.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-ui.min.js" type="text/javascript"></script>
    <script src="/Scripts/Validate/pagevalidator.js" type="text/javascript"></script>
    <script>
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="tabs">
        <ul>
            <li><a href="#edit">修改文章分类</a></li>
        </ul>
        <div id="edit">
            <fieldset>
                <div class="editor-label">
                    文章分类Id:
                </div>
                <div class="editor-field">
                    <asp:TextBox ID="txtId" runat="server" Enable="false">
                    </asp:TextBox>
                </div>
                <div class="editor-label">
                    文章分类名称:
                </div>
                <div class="editor-field">
                    <asp:TextBox ID="txtCategoryName" MaxLength="32" runat="server">
                    </asp:TextBox>
                    <div id="txtCategoryNameTip" style="width: 200px;">
                    </div>
                    <UC:ValidateTarget ID="ValidateTarget1" ContainerId="ValidatorContainer" runat="server"
                        OkMessage="OK" NullMessage="文章分类名称不能为空" ControlToValidate="txtCategoryName" Nullable="false"
                        FocusMessage="请输入文章分类名称">
                        <Validators>
                            <UC:InputStringClientValidator ErrorMessage="请输入文章分类名称" UpperBound="32" />
                        </Validators>
                    </UC:ValidateTarget>
                </div>
                <p>
                    <asp:Button ID="btnSave" runat="server" Text="保存" OnClientClick="return PageIsValid();"
                        OnClick="btnSave_Click" /></p>
            </fieldset>
        </div>
    </div>
    <UC:ValidatorContainer runat="server" IsScriptManagerInside="false" ID="ValidatorContainer" />
    </form>
</body>
</html>
